package org.example.course.service;

import org.example.course.common.DataGridView;
import org.example.course.domain.Graduation;
import org.example.course.dto.GraduationModel;

/**
 * @Classname GraduationService
 * @Description 毕业要求
 * @Date 2020/5/8 15:30
 * @Created by
 */
public interface GraduationService {

    /**
     * 分页查询
     * @param graduationModel
     * @return
     */
    DataGridView findPage(GraduationModel graduationModel);

    /**
     * 创建毕业要求
     * @param graduation
     * @return
     */
    boolean create(Graduation graduation);

    /**
     * 更新毕业要求
     * @param graduation
     * @return
     */
    boolean update(Graduation graduation);

    /**
     * 更具ID删除
     * @param id
     * @return
     */
    boolean delete(String id);
}
